package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 诊断报告对象 sys_diagnosis_report
 * 
 * @author ruoyi
 * @date 2022-06-23
 */
public class SysDiagnosisReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报告id */
    private Long reportId;

    /** 企业编码 */
    @Excel(name = "企业编码")
    private Long companyId;

    /** 问卷编码 */
    @Excel(name = "问卷编码")
    private Long naireId;

    /** 报告路径 */
    @Excel(name = "报告路径")
    private String report;

    /** 报告版本 */
    @Excel(name = "报告版本")
    private Long version;

    /** 报告版本（0发布版 1编辑版，具体见字典） */
    @Excel(name = "报告版本", readConverterExp = "0=发布版,1=编辑版，具体见字典")
    private String type;

    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setNaireId(Long naireId) 
    {
        this.naireId = naireId;
    }

    public Long getNaireId() 
    {
        return naireId;
    }
    public void setReport(String report) 
    {
        this.report = report;
    }

    public String getReport() 
    {
        return report;
    }
    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportId", getReportId())
            .append("companyId", getCompanyId())
            .append("naireId", getNaireId())
            .append("report", getReport())
            .append("version", getVersion())
            .append("type", getType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
